# compute the center of the contour
import cv2
def cal_c(cnt):
	M = cv2.moments(cnt)
	cX = int(M["m10"] / M["m00"])
	cY = int(M["m01"] / M["m00"])
	return cX,cY